package com.huawei.appmarket.service.store.awk.bean;

import androidx.annotation.Nullable;
import com.huawei.appgallery.foundation.card.base.normal.bean.NormalCardBean;
import java.util.List;

public class HorizontalAppWelfareItemCardBean extends NormalCardBean implements Comparable<HorizontalAppWelfareItemCardBean> {
    private static final long serialVersionUID = -3014593979444593561L;
    protected List<HorizontalAppWelfareGiftItemCardBean> appWelfare_;
    private long lastUsedTime_;
    private int priority_;

    public /* synthetic */ int compareTo(Object obj) {
        return ˎ((HorizontalAppWelfareItemCardBean) obj);
    }

    public int ʼˋ() {
        return this.priority_;
    }

    public List<HorizontalAppWelfareGiftItemCardBean> ʻˋ() {
        return this.appWelfare_;
    }

    public long ʻᐝ() {
        return this.lastUsedTime_;
    }

    public void ˎ(long j) {
        this.lastUsedTime_ = j;
    }

    public int ˎ(HorizontalAppWelfareItemCardBean horizontalAppWelfareItemCardBean) {
        if (equals(horizontalAppWelfareItemCardBean)) {
            return 0;
        }
        if (this.priority_ < horizontalAppWelfareItemCardBean.ʼˋ()) {
            return -1;
        }
        if (this.priority_ == horizontalAppWelfareItemCardBean.ʼˋ()) {
            return Long.valueOf(this.lastUsedTime_).compareTo(Long.valueOf(horizontalAppWelfareItemCardBean.ʻᐝ())) * -1;
        }
        return 1;
    }

    public boolean equals(@Nullable Object obj) {
        return super.equals(obj);
    }

    public int hashCode() {
        return super.hashCode();
    }
}
